<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/jsp/include/header.jsp"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page import="javax.sql.DataSource"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

	<head>
	
		<title>仓储管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.1.min.js"></script>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/icon.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/plugins/jquery.validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/index.js"></script>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
	</head>

	<body class="login-body">
		<div id="login" style="padding: 5px; width: 400px; height: 220px;">
			<table onkeydown="if(event.keyCode==13){doLogin();}" id="loginTable">
				<tr>
					<td align="right"><b style="font: 12px">用户名：</b></td>
					<td><input type="text" class="easyui-validatebox" id="mdaa" name="mdaa" style="width:200px;" maxlength="20" required="true" validType="loginName" missingMessage="员工编号不能为空"/></td>
				</tr>
				<tr>
					<td align="right"><b style="font: 12px">密码：</b></td>
					<td><input type="password" class="easyui-validatebox" id="mdab" name="mdab" style="width:200px;" maxlength="20" required="true" missingMessage="密码不能为空"/></td>
				</tr>
				<tr>
					<td align="right">公司:</td>
						<td align="left">
							<select id="dataSource" name="dataSource" style="width:150px;" class="easyui-combobox"  required="true" missingMessage="请选择工厂">
								<option value="0">请选择</option>
								<option value="HTA">HTA</option>
								<option value="HXN">HXN</option>
								<option value="HXN">HXG</option>
							</select>
						</td>
					</tr>
				<tr>
				<tr>
					<td></td>
					<td id="login_msg" style="color: red;font: 12px">&nbsp;</td>
				</tr>
				
					<td colspan="2" align="center">
						<a href="#" class="easyui-linkbutton" icon="icon-ok" onclick="doLogin();">确定</a>
						<a href="#" class="easyui-linkbutton" icon="icon-redo" onclick="doReset();">重置</a>
					</td>
				</tr>
			</table>
		</div>
	
	</body>
</html>
